#!/bin/sh
set -e

cd `dirname $0`
rm -rf autom4te.cache
autoconf
autoheader
rm -rf autom4te.cache
cd fma
rm -rf autom4te.cache
if test -x ./prep ; then
  ./prep
else
  autoconf
fi
rm -rf autom4te.cache
